package com.aizhixin.lab.project.course.repository;

import com.aizhixin.lab.common.core.DataValidity;
import com.aizhixin.lab.project.course.entity.ProjectGroup;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProjectGroupRepository extends JpaRepository<ProjectGroup,String> {
    List<ProjectGroup> findByProjectId(String projectId);
    ProjectGroup findByIdAndDeleteFlag(String id,Integer deleteFlag);
    List<ProjectGroup> findByProjectIdAndDeleteFlag(String projectId,Integer deleteFlag);
}
